package com.zr.spring.invoke.test1;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.Scope;

@Configuration
@Import(TestBeanPostProcessor.class)
public class Config {
    //@Scope("prototype")
    @Bean(initMethod = "init")
    public Dog dog() {
        return new Dog();
    }
}
